package com.yc.cloud.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;

/**
 * alg_strategy_rule 视图对象
 *
 * @author kinggu
 * @since 2025-07-30
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "AlgStrategyRuleVo", description = "alg_strategy_rule视图对象")
public class AlgStrategyRuleVo {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "所属策略ID (关联 alg_strategy.id)")
    private Long strategyId;
    
    @ApiModelProperty(value = "算法ID (冗余字段，关联 alg_algorithm.id)")
    private Long algAlgorithmId;
    
    @ApiModelProperty(value = "绑定的模型版本ID (关联 alg_model_version.id)")
    private Long algModelVersionId;
    
    @ApiModelProperty(value = "此条规则的独立运行参数 (JSON格式)")
    private String paramConfig;
    
    @ApiModelProperty(value = "发布状态：0->未发布，1->已发布")
    private Integer publishStatus;
    
    // 新增字段 - 用于前端展示
    @ApiModelProperty(value = "算法名称")
    private String algorithmName;
    
    @ApiModelProperty(value = "模型名称")
    private String modelName;
    
    @ApiModelProperty(value = "模型版本号")
    private String modelVersion;
} 